<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="FCK"%>
<html>
	<head>
		<title></title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
	</head>
	<body> 
		<html:form action="job.do?method=sendSms" method="post"> 
			<table width="700px" align="center">
				<tr>
					<th colspan="2" class="td_01" height="25px">
						 发送短信
					</th>
				</tr>
				<tr>
					<td class="td_01">
						手机号码：
					</td>
                    <td class="td_04">
                    	<input type="text" name="sg.number" id="number"/>&nbsp;多个已半角;分隔
                    </td>
				</tr> 
				<tr>
					<td class="td_01">
						内容：
					</td>
                    <td class="td_04">
                    	<textarea id="contents" name="sg.contents"  rows="5" cols="60"></textarea>
                    </td>
				</tr> 
				<tr><td colspan="2" align="center"><input type="submit" class="btn" value="提交" onclick="return sub();"/></td></tr>
				<tr align="center" >
					<td colspan="2"><span style="font-family:'宋体'; font-size:12px; color:#FF0000">${jobMsg}</span></td>
				</tr>
			</table> 
		</html:form>
	</body>
</html>
<script language="javascript"> 
	function sub(){
		 var number = document.getElementById("number").value;
		 var contents = document.getElementById("contents").value; 
		 
		 if(number == ""){
		 	alert("请输入手机号码：");
		 	document.getElementById("number").focus();
		 	return false;
		 } 
		 
		 if(contents == ""){
		 	alert("请输入发送内容!");
		 	document.getElementById("contents").focus();
		 	return false;
		 }
		  
		 return true;
	}
</script>
